<?php
class Images_model extends MY_Model{

	function __construct(){

		parent::__construct();
		$this->_prefix = "img";
		$this->_column = array(
								'id'			=>$this->_prefix."_id",
								'pos_id'		=>$this->_prefix."_pos_id",
								'filesize'		=>$this->_prefix."_filesize",
								'type'			=>$this->_prefix."_type",
								'filename'		=>$this->_prefix."_filename",
								'large'			=>$this->_prefix."_large",
								'medium'		=>$this->_prefix."_medium",
								'small'			=>$this->_prefix."_small",
								'filepath'		=>$this->_prefix."_filepath",
								'fullpath'		=>$this->_prefix."_fullpath",
								'cr_date'		=>$this->_prefix."_cr_date",
								'firstimage'	=>$this->_prefix."_firstimage",
								'title'	        =>$this->_prefix."_title"
			);
	}
	
}

?>